package com.trinity.specialpay.dto;

import com.trinity.campus.domain.CampusStudents;
import com.trinity.specialpay.domain.CampusActivity;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Data
@ToString
public class QueryActivityStudentsResultDto {
    /**
     * id
     */
    private Long payId;


    private CampusActivity activity;

    private List<Long> students;

    private List<CampusStudents> deptStudents;

    public void addStudent(Long stuId) {
        if (this.students == null) {
            this.students = new ArrayList<>();
        }
        this.students.add(stuId);
    }


}
